package algorithm_demo.demo04.graph;
import java.util.Objects;
/**
 * @author Api
 * @date 2023/2/18 17:45
 */
public class Edge {
    public int weight;
    public Node from;
    public Node to;
    public Edge(int weight, Node from, Node to) {
        this.weight = weight;
        this.from = from;
        this.to = to;
    }
}
